package org.jupiter.blog.api.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
public class JupiterCategoryDTO extends PageRequestDTO {

	private String uuid;

	@NotBlank(message = "分类名称不能为空")
	private String name;

	private Integer sort;

	private LocalDateTime createTime;

	private LocalDateTime updateTime;
}
